package org.reborn.engine.system

import SystemMessage._

/**
 * Special System that allows the SystemManager to have a common way to
 * start the necessary chain of dependent updates, setups, and shutdowns
 * for all the systems.
 *
 * Similar to LoopEnd
 */
sealed class LoopStart(private val sysMan:SystemManager) extends System {
	
  def update(dt: Double): Unit = {  }

  override def shutdown() = {
	  sysMan ! DeinitializationFinished
  }
}